home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ MGA G400 1.xpl < prev    next >
Text File  |  2001-05-15  |  2KB  |  107 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="5"
  4. "UIPATH"="Hardware\Video Cards\Matrox\G400"
  5. "NAME"="General Settings"
  6. "VERSION"="1.04"
  7. "OSVERSION"="10100"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Enable Anisotropic filtering"
  10. "TEXT 2"="Enable Bump Mapping"
  11. "TEXT 3"="Enable Palettized Textures"
  12. "TEXT 4"="Enable triple buffering"
  13. "TEXT 5"="Enable VSync"
  14. '''"TEXT 4"="Enable Subpixel Accuracy"
  15. "DESCRIPTION 1"="Some options for your Matrix G400 3D card." 
  16. "AUTHOR"="Xteq Systems"
  17. "CONTACTURL"="http://www.xteq.com"
  18. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  19. "COMMENT 1"=" "
  20. "COMMENT 2"="Thanks to CptSiskoX!"
  21.  
  22.  
  23. 'sPC="HKLM\SOFTWARE\NVIDIA Corporation\Riva TNT\"
  24. 'All STR
  25. sV1="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Settings\DirectX\Anisotropic" 
  26. sV2="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Settings\DirectX\BumpFiltering" 
  27. sV3="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Settings\DirectX\PalettizedTextures"
  28. sV4="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Settings\DirectX\UseTripleBuffering"
  29. sV5="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Settings\DirectX\FlipOnVblank"
  30. ''sV4="D3DRendering"
  31.  
  32. Sub Plugin_Initialize 
  33.    i=RegReadValue(sV1)
  34.    if i=1 then SetUiElement 1,true
  35.  
  36.    i=RegReadValue(sV2)
  37.    if i=1 then SetUiElement 2,true
  38.  
  39.    i=RegReadValue(sV3)
  40.    if i=1 then SetUiElement 3,true
  41.  
  42.    i=RegReadValue(sV4)
  43.    if i=1 then SetUiElement 4,true
  44.  
  45.    i=RegReadValue(sV5)
  46.    if i=1 then SetUiElement 5,true
  47. End Sub
  48.  
  49.  
  50. Sub Plugin_CheckData(ElementIndex)
  51. End Sub
  52.  
  53.  
  54.  
  55. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  56.  b=GetUIElement(1)
  57.  if b=true then
  58.     i=1
  59.  else
  60.     i=0
  61.  end if
  62.  Call RegWriteValue(sV1,i,2)
  63.  
  64.  b=GetUIElement(2)
  65.  if b=true then
  66.     i=1
  67.  else
  68.     i=0
  69.  end if
  70.  Call RegWriteValue(sV2,i,2)
  71.  
  72.  b=GetUIElement(3)
  73.  if b=true then
  74.     i=1
  75.  else
  76.     i=0
  77.  end if
  78.  Call RegWriteValue(sV3,i,2)
  79.  
  80.  b=GetUIElement(4)
  81.  if b=true then
  82.     i=1
  83.  else
  84.     i=0
  85.  end if
  86.  Call RegWriteValue(sV4,i,2)
  87.  
  88.  
  89.  b=GetUIElement(5)
  90.  if b=true then
  91.     i=1
  92.  else
  93.     i=0
  94.  end if
  95.  Call RegWriteValue(sV5,i,2)
  96.  
  97.  
  98.  Call Restart()
  99. End Sub
  100.  
  101.  
  102. Sub Plugin_Terminate 
  103. End Sub
  104.  
  105.  
  106.  
  107.